function A(){}
A.prototype = {
    aa() {
        alert(1)
    }
};
function bridge() {}
bridge.prototype = A.prototype;

function B() {}
B.prototype = new bridge();

let a = new A();
let b = new B();
